package auto.app.job;

import com.xxl.job.core.context.XxlJobHelper;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

@Component
public class TestCrawl{

    @XxlJob(value = "demoJobHandler")
    public void executeJob(){
        System.out.println("定时任务执行成功");
        XxlJobHelper.log("=============接口平均响应时长定时任务 结束===================");
    }
}
